From: Stephane Bisson Date: Fri, 1 Sep 2017 18:07:45 +0000 (-0400) Subject: WLFilters: fix msg keys to comply with standard X-Git-Tag: 1.31.0-rc.0~2237^2 X-Git-Url: http://git.cyclocoop.org/%27%20.%20%24prefix%20.%20Wiki::transformTitleToURI%28%24matches%5B1%5D%29%20.%20%27?a=commitdiff_plain;h=3ec69e791cfd75f6bb690c78897128d272df32dc;p=lhc%2Fweb%2Fwiklou.git WLFilters: fix msg keys to comply with standard Change-Id: Iea19ddb38b362fb01535cde595d82cc7fd1ad479 --- diff --git a/languages/i18n/en.json b/languages/i18n/en.json index b2804882ca..2d614f1987 100644 --- a/languages/i18n/en.json +++ b/languages/i18n/en.json @@ -1468,8 +1468,8 @@ "rcfilters-liveupdates-button": "Live updates", "rcfilters-liveupdates-button-title-on": "Turn off live updates", "rcfilters-liveupdates-button-title-off": "Display new changes as they happen", - "rcfilters-watchlist-markSeen-button": "Mark all changes as seen", - "rcfilters-watchlist-editWatchlist-button": "Edit your list of watched pages", + "rcfilters-watchlist-markseen-button": "Mark all changes as seen", + "rcfilters-watchlist-edit-watchlist-button": "Edit your list of watched pages", "rcfilters-watchlist-showupdated": "Changes to pages you haven't visited since the changes occurred are in bold, with solid markers.", "rcnotefrom": "Below {{PLURAL:$5|is the change|are the changes}} since $3, $4 (up to $1 shown).", "rclistfromreset": "Reset date selection", diff --git a/languages/i18n/qqq.json b/languages/i18n/qqq.json index 800ee08412..c30ac2d74e 100644 --- a/languages/i18n/qqq.json +++ b/languages/i18n/qqq.json @@ -1658,8 +1658,8 @@ "rcfilters-liveupdates-button": "Label for the button to enable or disable live updates on [[Special:RecentChanges]]", "rcfilters-liveupdates-button-title-on": "Title for the button to enable or disable live updates on [[Special:RecentChanges]] when the feature is ON.", "rcfilters-liveupdates-button-title-off": "Title for the button to enable or disable live updates on [[Special:RecentChanges]] when the feature is OFF.", - "rcfilters-watchlist-markSeen-button": "Label for the button to mark all changes as seen on [[Special:Watchlist]] when using the structured filters interface.", - "rcfilters-watchlist-editWatchlist-button": "Label for the button to edit the watched pages on [[Special:Watchlist]] when using the structured filters interface.\n\nCf. {{msg-mw|watchlisttools-edit}}.", + "rcfilters-watchlist-markseen-button": "Label for the button to mark all changes as seen on [[Special:Watchlist]] when using the structured filters interface.", + "rcfilters-watchlist-edit-watchlist-button": "Label for the button to edit the watched pages on [[Special:Watchlist]] when using the structured filters interface.\n\nCf. {{msg-mw|watchlisttools-edit}}.", "rcfilters-watchlist-showupdated": "Message at the top of [[Special:Watchlist]] when the Structured filters are enabled that describes what unseen changes look like.\n\nCf. {{msg-mw|wlheader-showupdated}}", "rcnotefrom": "This message is displayed at [[Special:RecentChanges]] when viewing recentchanges from some specific time.\n\nThe corresponding message is {{msg-mw|Rclistfrom}}.\n\nParameters:\n* $1 - the maximum number of changes that are displayed\n* $2 - (Optional) a date and time\n* $3 - a date\n* $4 - a time\n* $5 - Number of changes are displayed, for use with PLURAL", "rclistfromreset": "Used on [[Special:RecentChanges]] to reset a selection of a certain date range.", diff --git a/resources/Resources.php b/resources/Resources.php index 7a95da81f1..3a5de66371 100644 --- a/resources/Resources.php +++ b/resources/Resources.php @@ -1899,8 +1899,8 @@ return [ 'rcfilters-liveupdates-button', 'rcfilters-liveupdates-button-title-on', 'rcfilters-liveupdates-button-title-off', - 'rcfilters-watchlist-markSeen-button', - 'rcfilters-watchlist-editWatchlist-button', + 'rcfilters-watchlist-markseen-button', + 'rcfilters-watchlist-edit-watchlist-button', 'rcfilters-other-review-tools', 'blanknamespace', 'namespaces', diff --git a/resources/src/mediawiki.rcfilters/ui/mw.rcfilters.ui.MarkSeenButtonWidget.js b/resources/src/mediawiki.rcfilters/ui/mw.rcfilters.ui.MarkSeenButtonWidget.js index 073cd1ea7a..56fe5b9359 100644 --- a/resources/src/mediawiki.rcfilters/ui/mw.rcfilters.ui.MarkSeenButtonWidget.js +++ b/resources/src/mediawiki.rcfilters/ui/mw.rcfilters.ui.MarkSeenButtonWidget.js @@ -14,7 +14,7 @@ // Parent mw.rcfilters.ui.MarkSeenButtonWidget.parent.call( this, $.extend( { - label: mw.message( 'rcfilters-watchlist-markSeen-button' ).text(), + label: mw.message( 'rcfilters-watchlist-markseen-button' ).text(), icon: 'doubleCheck' }, config ) ); diff --git a/resources/src/mediawiki.rcfilters/ui/mw.rcfilters.ui.WatchlistTopSectionWidget.js b/resources/src/mediawiki.rcfilters/ui/mw.rcfilters.ui.WatchlistTopSectionWidget.js index 86c206ba1d..7d78565c5a 100644 --- a/resources/src/mediawiki.rcfilters/ui/mw.rcfilters.ui.WatchlistTopSectionWidget.js +++ b/resources/src/mediawiki.rcfilters/ui/mw.rcfilters.ui.WatchlistTopSectionWidget.js @@ -25,7 +25,7 @@ mw.rcfilters.ui.WatchlistTopSectionWidget.parent.call( this, config ); editWatchlistButton = new OO.ui.ButtonWidget( { - label: mw.msg( 'rcfilters-watchlist-editWatchlist-button' ), + label: mw.msg( 'rcfilters-watchlist-edit-watchlist-button' ), icon: 'edit', href: mw.config.get( 'wgStructuredChangeFiltersEditWatchlistUrl' ) } );